<extend name="desktop_default/template/base_index2" />

<block name="area_header">
	<style type="text/css">
		body{background: #F5F5F5}
        .btn-avatar{
            font-size: 1.2rem;
            padding: 5px;
            border-radius: 35px;
            margin-left: 30px;
        }
	</style>
</block>

<block name="area_body">
	<include file="desktop_default/width/right" />
	<include file="desktop_default/width/top"/>
	<div class="container">
		{:W('Partials/nav_group')}
	</div><br>

    <include file="desktop_default/partial/usercenter_top"/>

    <div class="div_main shop-container am-cf">
        <div class="div_left" >
            <include file="desktop_default/width/list"/>
        </div>
        <div class="div_right" >
			<div class="div_userInfo">
				<div style="float: left; height: 100px; width: 100px; ">

                    <empty name="user['head']">
                        <a class="js_avatar " href="{:U('Shop/Avatar/upload')}"><img class="avatar" src="__IMG__/head.jpg" /></a>
                        <else/>
                        <a class="js_avatar" href="{:U('Shop/Avatar/upload')}"><img class="avatar" src="{$user['head']}" /></a>
                    </empty>
                    <a class="btn-avatar am-btn-sm am-btn am-btn-danger" href="{:U('Shop/Avatar/upload')}">编辑头像</a>

				</div>
				<ul >
					<li>{$user['username']}</li>
					<li>{:sayHello()}</li>
					<li><a href="{:U('Shop/User/infoview')}" class="dd_search am-text-sm">修改个人信息 ></a></li>
				</ul>
				<ul class="ul_info">
					<li>绑定手机：{$phone}</li>
					<li>优惠码：<font style="font-size: 22px; color: orangered;">{$user['idcode']}</font></li>
				</ul>
			</div>
			<div class="div_orderInfo" style="clear:both; ">
				<ul>
					<li>
                        <a href="{:U('Shop/User/order')}"><img src="__IMG__/portal-icon-1.png" style="float: left;"/>
                        </a>
						<p style="">待支付的订单：{$wait}</p>
						<p style="margin-top: -20px"><a href="{:U('Shop/User/order')}">查看待支付订单<i class="am-icon-chevron-right am-margin-left-sm"></i></a></p>
					</li>
					<li ><a href="{:U('Shop/User/order')}"><img src="__IMG__/portal-icon-2.png" style="float: left;"/></a>
						<p style="">待收货的订单：{$shouhuo}</p>
						<p style="margin-top: -20px"><a href="{:U('Shop/User/order')}">查看待收货订单<i class="am-icon-chevron-right am-margin-left-sm"></i></a></p>
					</li>
					<!--<li ><a href="{:U('Shop/User/order')}"><img src="__IMG__/portal-icon-3.png" style="float: left;"/></a>-->
						<!--<p style="">待评价商品数：{$pingjia}</p>-->
						<!--<p style="margin-top: -20px"><a href="{:U('Shop/User/order')}">查看待评价订单<i class="am-icon-chevron-right am-margin-left-sm"></i></a></p>-->
					<!--</li>-->
					<!--<li><a href="{:U('Shop/User/order')}"><img src="__IMG__/portal-icon-4.png" style="float: left;"/></a>-->
						<!--<p style="">喜欢的商品：0</p>-->
						<!--<p style="margin-top: -20px"><a href="{:U('Shop/User/order')}">查看喜欢的商品<i class="am-icon-chevron-right am-margin-left-sm"></i></a></p>-->
					<!--</li>-->

				</ul>
			</div>
		</div>

	</div>
	 <include file="desktop_default/width/floor" />

</block>

<block name="area_footer">

</block>
